package com.fcscs.cservice.ws.client.commonservice;

import org.apache.log4j.Logger;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.fcscs.cservice.ws.schema.commonservice.GetReservationConfRequest;
import com.fcscs.cservice.ws.schema.commonservice.GetReservationConfResponse;

public class GetReservationConfClient extends WebServiceGatewaySupport {

	private static final Logger LOG = Logger.getLogger(GetReservationConfClient.class);

	public GetReservationConfResponse getRsvConf(GetReservationConfRequest req) {
		GetReservationConfResponse resp = (GetReservationConfResponse) getWebServiceTemplate().marshalSendAndReceive(req);
		LOG.info("----------resv " + resp.getReservationConf());
		return resp;
	}
}
